php forum
php mysql forum
php mysql smarty
 
Page 6 of 6 < 1 2 3 4 5 6
Topic Options
#201151 - 05/15/04 10:09 PM Re: [6.6 - 6.7] [beta] Mega Mod
Nate Offline
Member

Registered: 12/18/03
Posts: 40
Wow, this one was driving me crazy; then I had a Eureka moment!

My user was staying logged in between sessions. When I made that user a megamod, it was showing that I was a megamod, but I kept getting denied megamod privledges.

So I went to my forum, logged out, logged back in, and BAM, BABY!!! It works like a charm!

Thanks for helping me figure this one out, guys!

Top
#201152 - 05/16/04 01:18 AM Re: [6.6 - 6.7] [beta] Mega Mod
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Interesting enough.. as long as you got it working :x...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#201153 - 10/27/04 06:49 PM Re: [6.6 - 6.7] [beta] Mega Mod
Tiger66 Offline
Member

Registered: 03/31/04
Posts: 58
Loc: Israel
Kewl mod smile

Question, is it possible to prevent both megamods and regular mods from deleting posts?

Thanks

Top
#201154 - 10/27/04 11:53 PM Re: [6.6 - 6.7] [beta] Mega Mod
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
What's the point of modding (or megamodding) someone if they can't delete posts? The main part of both status levels is so people can monitor your site and edit/delete what doesn't belong...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#201155 - 10/28/04 05:07 PM Re: [6.6 - 6.7] [beta] Mega Mod
Tiger66 Offline
Member

Registered: 03/31/04
Posts: 58
Loc: Israel
Because some can't understand what kind of posts i dont want them to delete

Top
#201156 - 10/28/04 05:17 PM Re: [6.6 - 6.7] [beta] Mega Mod
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Try the following in ubb_edit_post.cgi (untested; they'll still have the checkbox to delete the post, but if they select it, it will show them an error and not delete it)
Find:
Code:
		if($permit_delete ne "true") {
Replace with:
Code:
		if($permit_delete ne "true" &#0124;&#0124; ($user_profile[8] ne 'Administrator' && $user_number != $profile_number)) {
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201157 - 07/10/05 08:24 PM Re: [6.6 - 6.7] [beta] Mega Mod
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
How about in ultimatebb.php:
Find:
Code:
	if (!$privatepath && preg_match("/Admin/i", $profile[4])) {
Replace with:
Code:
	if (!$privatepath && (preg_match("/Admin/i", $profile[4]) &#0124;&#0124; $profile[8] == "MegaModerator")) {
Find:
Code:
	if ($privateforums && preg_match("/Admin/", $profile[4])) {
Replace with:
Code:
	if (!$privatepath && (preg_match("/Admin/i", $profile[4]) &#0124;&#0124; $profile[8] == "MegaModerator")) {
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201158 - 07/17/05 08:42 PM Re: [6.6 - 6.7] [beta] Mega Mod
Tiger66 Offline
Member

Registered: 03/31/04
Posts: 58
Loc: Israel
Sorry again for the late reply , the edit in the ultimatebb.php didnt do it while the edit in the ubb_edit_post.cgi did work

Thanks smile

Top
#201159 - 07/18/05 05:24 AM Re: [6.6 - 6.7] [beta] Mega Mod
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
The ultimatebb.php edit was just something I added, nothing to do with your request smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
Page 6 of 6 < 1 2 3 4 5 6



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks